package com.itheima.reggie_auto.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie_auto.dto.DishDto;
import com.itheima.reggie_auto.entity.Dish;

import java.util.List;

public interface DishService {
    void save(DishDto dishDto);

    Page<DishDto> page(int page, int pageSize, Dish dish);

    DishDto getById(Long id);

    void update(DishDto dishDto);

    void updateByIds(Integer status, Long[] ids);

    void deleteByIds(List<Long> ids);

    List<DishDto> getByCategoryId(Dish dish);
}
